import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

export default new VueRouter({
  routes: [{
      path: '/envelope',
      component: () => import('../page/envelope/index.vue')
    },
    {
      path: '/resume',
      component: () => import('../page/navSide/index.vue'),
      children: [{
          path: '/information',
          component: () => import('../page/navSide/components/information.vue'),
        }, {
          path: '/contact',
          component: () => import('../page/navSide/components/contact.vue')
        },
        {
          path: '/development',
          component: () => import('../page/navSide/components/development.vue')
        }
      ]
    },
    {
      path: '/',
      component: () => import('../page/home/index.vue')
    }
  ]
})
